﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WarehouseManagement.Domain.Entity;
using WarehouseManagement.Infrstructre.Interface;

namespace WarehouseManagement.Infrstructre.Imp
{
    // BaseWarehouseRepository 类继承 BaseRepository<Warehouse> 类，并实现 IWarehouseRepository 接口
    // 该类提供了对 Warehouse 实体的数据库操作，使用 SqlSugar 作为 ORM 框架
    public class BaseWarehouseRepository : BaseRepository<Warehouse>, IWarehouseRepository
    {
        // 构造函数，接受一个 ISqlSugarClient 实例并传递给基类构造函数
        public BaseWarehouseRepository(ISqlSugarClient db) : base(db) { }
    }
}
